package com.kaikeba.util;

import java.util.Random;

public class RandomUtil {
    private static Random random = new Random();

    /**
     * 随机生成6位数
     * @return 生成的6位数
     */
    public static int getCode(){
        return random.nextInt(900000) + 100000;
    }
}
